$(function () {
    /*供货商所有单据*/
    $('#firstDate').datetimepicker({
        //viewMode: 'day',
        format: 'YYYY-MM-DD'
    });
    $('#secondDate').datetimepicker({
        format: 'YYYY-MM-DD',
        useCurrent: false //Important! See issue #1075
    });
    $("#firstDate").on("dp.change", function (e) {
        $('#secondDate').data("DateTimePicker").minDate(e.date);
    });
    $("#secondDate").on("dp.change", function (e) {
        $('#firstDate').data("DateTimePicker").maxDate(e.date);
    });
    $('#pop').bootstrapTable({
    url: '${pageContext.request.contextPath}/../../Qshissjsi/Qshi',
        columns: [

            {
                field: 'name',
                title: '仓库名称'
            },{
                field:'money',
                title:'进货总金额'
            },{
                field:'num',
                title:'进货总数量'
            },{
                field:'moneys',
                title:'出货总金额'
            },{
                field:'nums',
                title:'出货总数量'
            }],
    });

}) ;







